package com.ricohgag.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 肖晖
 * @since 2018-08-25
 */
public class News implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String newsTitle;
    private String newsImg;
    private String subTitle;
    private LocalDateTime addTime;
    private Integer countClick;
    private Integer commentCount;
    private Integer isShow;
    private String description;
    private Integer catalogId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsImg() {
        return newsImg;
    }

    public void setNewsImg(String newsImg) {
        this.newsImg = newsImg;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public Integer getCountClick() {
        return countClick;
    }

    public void setCountClick(Integer countClick) {
        this.countClick = countClick;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Integer catalogId) {
        this.catalogId = catalogId;
    }

    @Override
    public String toString() {
        return "News{" +
        "id=" + id +
        ", newsTitle=" + newsTitle +
        ", newsImg=" + newsImg +
        ", subTitle=" + subTitle +
        ", addTime=" + addTime +
        ", countClick=" + countClick +
        ", commentCount=" + commentCount +
        ", isShow=" + isShow +
        ", description=" + description +
        ", catalogId=" + catalogId +
        "}";
    }
}
